/**
 * @desc tree-node
 */
export type NodeData = {
  deptId: string;
  deptName: string;
  children?: NodeData[];
  [params: string]: any;
};

/**
 * @desc 账号信息
 */
export type AccountRoles = {
  roleId: string;
  roleName: string;
  dataScope: string;
  [props:string]:any
};

export type AccountInfo = {
  userId: string;
  tenantId: string;
  tenantTypeCode: string;
  account: string;
  nickName: string;
  userType: string;
  mobile: string;
  sex: 0 | 1 | 2;
  avatar: string;
  status: boolean;
  isDefaultPassword: boolean;
  roles: AccountRoles[];
  loading?:boolean
};

export type DeptFormData = {
  parentId: string;
  deptName: string;
  leader: string;
  leaderId: string;
  [props:string]:any;
}


